//
//  SEGOrderTrackView.h
//  Uhomebk
//
//  Created by mac on 2017/10/25.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGOrderTrackInfoModel.h"

/**
 SEGOrderTrackView
 */
@protocol SEGOrderTrackViewDelegate <NSObject>

-(void)openUserNameRefreshUI;

@end



@interface SEGOrderTrackView : UIView

- (instancetype)initWithFrame:(CGRect)frame trackModel:(SEGOrderTrackInfoModel *)trackModel parentVC:(UIViewController *)parentVC isFirstTrack:(BOOL)isFirstTrack;

/**
 刷新视图
 
 @param trackModel model
 */
-(void)refreshSubViewsWith:(SEGOrderTrackInfoModel *)trackModel;

@property (nonatomic, assign) CGFloat trackViewHeight;
@property (nonatomic, strong) UIViewController *parentVC;
@property (nonatomic, weak) id<SEGOrderTrackViewDelegate> delegate;
@property (nonatomic, assign) BOOL isFirstTrack;

@end
